<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<title>{$pageTitle}</title>
	<meta name="author" content="九九" />
	<meta name="keywords" content="" />
	<meta name="description" content="" />	
    <link href="__PUBLIC__/default/admin/css/skin.css" rel="stylesheet" type="text/css" />
    <link href="__PUBLIC__/default/admin/css/comm.css" rel="stylesheet" type="text/css" />
    <link href="__PUBLIC__/default/uploadify/uploadify.css" type="text/css" rel="stylesheet" />    
    <style type="text/css">
    <!--
        body {
        	margin-left: 0px;
        	margin-top: 0px;
        	margin-right: 0px;
        	margin-bottom: 0px;
        	background-color: #EEF2FB;
        }
    -->
    </style>
</head>
<body>
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="17" valign="top" background="__PUBLIC__default/admin/images/mail_leftbg.gif"><img src="__PUBLIC__default/admin/images/left-top-right.gif" width="17" height="29" /></td>
        <td valign="top" background="__PUBLIC__default/admin/images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
          <tr>
            <td height="31" align="left"><div class="titlebt"><?php if($recordInfo['config_id']) { echo '编辑';} else { echo '添加';} ?>{$modelTitle}</div></td>
            <td height="31" align="right">&nbsp;</td>
          </tr>
        </table></td>
        <td width="16" valign="top" background="__PUBLIC__default/admin/images/mail_rightbg.gif"><img src="__PUBLIC__default/admin/images/nav-right-bg.gif" width="16" height="29" /></td>
      </tr>
      <tr>
        <td valign="middle" background="__PUBLIC__default/admin/images/mail_leftbg.gif">&nbsp;</td>
        <td valign="top" bgcolor="#F7F8F9"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
           <tr>
            <td colspan="4" valign="top"> 
                <div id="hintInfoArea" class="hintInfoArea">
                     <span class="currentLoc">
                        当前模块：{$modelTitle}。
                     </span>
                </div>
            </td>
          </tr>
          <tr>
            <td colspan="4" valign="top">
            <table width="100%"  border="0" cellpadding="0" cellspacing="0" class="line_table">
              <tr class="tableRowBg">
                <td colspan="3" >网站信息</td>
              </tr>
              <tr class="resultList">
                <td align="right">主页LOGO：</td>
                <td align="left">
                    <?php if ($recordInfo['bg_upload'] != '') { ?> <a
                        href="__PUBLIC__/{$recordInfo.logo_upload}" class="a_width"><img
                        src="__PUBLIC__/{$recordInfo.logo_upload_small}"
                        class="lImgTypeOne"/></a><?php } ?>
                    <input type="file" name="logo_upload" id="logo_upload_id" class="addText" value=""/>
                </td>   
                <td class="left_txt" align="left">说明：文字信息。</td>
              </tr>
              <tr class="resultList">
                <td align="right">背景图片一：</td>
                <td align="left">
                    <?php if ($recordInfo['bg_upload'][0] != '') { ?> <a
                        href="__PUBLIC__/{$recordInfo.bg_upload.0}" class="a_width"><img
                        src="__PUBLIC__/{$recordInfo.bg_upload_small.0}" class="lImgTypeOne"/></a><?php } ?>
                    <input type="file" name="bg_upload_1" id="bg_upload_1_id" class="addText" value=""/>
                </td>   
                <td class="left_txt" align="left">说明：只支持.jpg[最佳], .gif, .png格式。<br/>大小：1280px X 800px</td>
              </tr>
              <tr class="resultList">
                <td align="right">背景图片二：</td>
                <td align="left">
                    <?php if ($recordInfo['bg_upload'][1] != '') { ?> <a
                        href="__PUBLIC__/{$recordInfo.bg_upload.1}" class="a_width"><img
                        src="__PUBLIC__/{$recordInfo.bg_upload_small.1}" class="lImgTypeOne"/></a><?php } ?>
                    <input type="file" name="bg_upload_2" id="bg_upload_2_id" class="addText" value=""/>
                </td>   
                <td class="left_txt" align="left">说明：只支持.jpg[最佳], .gif, .png格式。<br/>大小：1280px X 800px</td>
              </tr>
              <tr class="resultList">
                <td align="right">背景图片三：</td>
                <td align="left">
                    <?php if ($recordInfo['bg_upload'][2] != '') { ?> <a
                        href="__PUBLIC__/{$recordInfo.bg_upload.2}" class="a_width"><img
                        src="__PUBLIC__/{$recordInfo.bg_upload_small.2}" class="lImgTypeOne"/></a><?php } ?>
                    <input type="file" name="bg_upload_3" id="bg_upload_3_id" class="addText" value=""/>
                </td>   
                <td class="left_txt" align="left">说明：只支持.jpg[最佳], .gif, .png格式。<br/>大小：1280px X 800px</td>
              </tr>
              <tr class="resultList">
                <td align="right">背景音乐：</td>
                <td align="left">
                    <object type="application/x-shockwave-flash"
                    data="__PUBLIC__/default/audioplayer/audioplayer.swf" width="290"
                    height="24"id="audioplayer99">
                      <param name="movie" value="__PUBLIC__/default/audioplayer/audioplayer.swf" />
                      <param name="FlashVars" value="playerID=99&soundFile=__PUBLIC__/{$recordInfo.music_upload}" />
                      <param name="quality" value="high" />
                      <param name="menu" value="false" />
                      <param name="wmode" value="transparent" />
                    </object>
                        
                    <input type="file" name="music_upload" id="music_upload_id" class="addText" value=""/>
                </td>   
                <td class="left_txt" align="left">说明：只支持.mp3格式</td>
              </tr>
            <form id="info_form_id" name="info_form" method="post" action="__URL__/txtedit/om/{$modelName}" enctype="multipart/form-data" >
            {__TOKEN__}

              <tr class="resultList">
                <td align="right">公司联系信息：</td>
                <td align="left">
                    <textarea id="company_info_id" name="company_info" class="xheditor
                    {tools:'Bold,Italic,Underline,FontSize,FontColor,Fontface,Strikethrough,Cut,Paste,Pastetext,|,Link,Fullscreen,About',skin:'default'}" rows="12" cols="80" style="width: 80%"> {$recordInfo.company_info}</textarea>
                </td>
                <td class="left_txt" align="left">说明：{#gDescription#}</td>
              </tr>
              <tr class="resultList">
                <td align="right">是否开启音乐：</td>
                <td align="left">
                <input type="radio" name="bg_music" value="yes" <?php if($recordInfo['bg_music'] == 'yes') echo  'checked'; ?>/>开启
                <input type="radio" name="bg_music" value="no"<?php if($recordInfo['bg_music']
                == 'no') echo 'checked';?>/> 关闭
                </if>
                </td>   
                <td class="left_txt" align="left">说明：必填项.</td>
              </tr>
              <tr class="resultList">
                <td align="right">是否开启多背景：</td>
                <td align="left">
                <input type="radio" name="mult_bg" value="yes" <?php if($recordInfo['bg_music'] == 'yes') echo 'checked'; ?> />开启
                <input type="radio" name="mult_bg" value="no"<?php if($recordInfo['bg_music'] == 'no') echo 'checked';?>/> 关闭 
                </if>
                </td>   
                <td class="left_txt" align="left">说明：必填项.</td>
              </tr>
               <tr class="resultList">
                <td align="right">&nbsp;</td>
                <td align="left">
                    <input type="submit" id="btn_submit_id" value="提交"/>
                    &nbsp;&nbsp;&nbsp;
                    <input type="reset"  id="btn_reset_id" value="重填"/>
                </td>
                <td >&nbsp;</td>
              </tr>
            </form>
            </table>
            </td>
          </tr>
          <tr>
            <td width="2%">&nbsp;</td>
            <td width="51%" class="left_txt">&nbsp;</td>
            <td width="7%">&nbsp;</td>
            <td width="40%">&nbsp;</td>
          </tr>
        </table></td>
        <td background="__PUBLIC__default/admin/images/mail_rightbg.gif">&nbsp;</td>
      </tr>
      <tr>
        <td valign="bottom" background="__PUBLIC__default/admin/images/mail_leftbg.gif"><img src="__PUBLIC__default/admin/images/buttom_left2.gif" width="17" height="17" /></td>
        <td background="__PUBLIC__default/admin/images/buttom_bgs.gif"><img src="__PUBLIC__default/admin/images/buttom_bgs.gif" width="17" height="17"></td>
        <td valign="bottom" background="__PUBLIC__default/admin/images/mail_rightbg.gif"><img src="__PUBLIC__default/admin/images/buttom_right2.gif" width="16" height="17" /></td>
      </tr>
    </table>
    <script language="javascript">
        var publicDir       = '__PUBLIC__/default';
        var url             = '__URL__';
    </script>
    <script language="javascript" src="__PUBLIC__default/comm/js/jquery.js"></script> 
    <script type="text/javascript" src="__PUBLIC__default/audioplayer/audioplayer.js"></script>
    <script language="javascript" src="__PUBLIC__default/xheditor/xheditor-1.1.6-zh-cn.min.js"></script>
    <script src="__PUBLIC__/default/uploadify/jquery.uploadify.v2.1.4.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="__PUBLIC__default/uploadify/swfobject.js"></script>
    <script language="javascript" src="__PUBLIC__default/comm/js/XDialog.class.js"></script> 
    <script language="javascript" src="__PUBLIC__default/admin/js/Config.page.js"></script>
</body>
</html>
